import request from '@/lib/request';

/**
 * 商品置顶
 * @tips ProductTop
 * @tags [ProductTop]
 * @param
  */
export function api_POST_MallProductTop(aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_SHOPPINGMALL_BASE,
    url: '/api/app/Mall/productTop',
    method: 'post',
    params: aDataBody
  });
}
/**
 * 商品取消置顶
 * @tips ProductTop
 * @tags [ProductTop]
 * @param
  */
export function api_DELETE_MallProductTop(aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_SHOPPINGMALL_BASE,
    url: `/api/app/Mall/productTop`,
    method: 'delete',
    params: aDataQuery
  });
}
